@layout("/common/_container.html"){
<block name="Style"> <!-- FooTable Plugin CSS -->
                <div style="margin-bottom: 10px;">
                    <a href="#" class="btn btn-primary" onclick="doPrint()">打印</a>
                </div>
    <div id="print">
                    <div style="width: 100%;">

                        <style>
                            .mtable {
                                width: 100%;
                                /*border-right:1px solid #888;/*border-bottom:1px solid #888*/
                            }

                            .mtable td {
                                text-align: left;
                                padding-left: 8px;
                                line-height: 20px;

                            }

                            .bold {
                                font-weight: bold;
                            }

                            .disable {
                                color: #999;
                            }
                        </style>

                        <table class="mtable">
                            <tr>
                                <td colspan="60" id="title"
                                    style="font-size: 20px; font-weight: bold; line-height: 40px; text-align: center;">
                                    <empty name="product.title">车辆派遣单</empty></td>
                            </tr>
                            <tr>
                            </tr>
                            <tr>
                                <td colspan="30" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    出车时间:${btime}</td>
                                </td>
                                <td colspan="30" id="title_o"
                                    style="font-size: 16px; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    回车时间:${time}
                                </td>
                            </tr>
                            <tr>
                                <td colspan="30" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    用车单位:${item.unit}</td>
                                </td>
                                <td colspan="30" id="title_o"
                                    style="font-size: 16px; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    事由:${item.reason}
                                </td>
                            </tr>
                            <tr>
                                <td colspan="20" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    车号:${item.number}</td>
                                </td>
                                <td colspan="20" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    车况:</td>
                                </td>
                                <td colspan="20" id="title_o"
                                    style="font-size: 16px; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    驾驶人:${item.jiashi}
                                </td>
                            </tr>
                            <tr>

                                <td colspan="60" id="title_o"
                                    style="font-size: 16px; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    行车路线:${item.road}
                                </td>
                            </tr>

                            <tr>
                                <td colspan="20" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    用(带)车人:${item.people}</td>
                                </td>
                                <td colspan="20" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    联系电话:${item.phone}</td>
                                </td>
                                <td colspan="20" id="title_o"
                                    style="font-size: 16px; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    批准人:${item.approval}
                                </td>
                            </tr>

                            <tr>
                                <td colspan="60" class="bold"
                                    style="border-top: none; border-bottom: 1px solid #888; border-right: 1px solid #888;">
                                </td>
                            </tr>

                            <tr>
                                <td colspan="8" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888; background-color:#F3F3F4;">
                                   </td>

                                <td colspan="22" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    报道时间: </td>

                                <td colspan="8" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888; background-color:#F3F3F4;">
                                    用(带车人)</td>

                                <td colspan="22" id="title_o"
                                    style="font-size: 16px; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">

                                </td>
                            </tr>
                            <tr>
                                <td colspan="8" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888; background-color:#F3F3F4;">
                                    运行状况</td>

                                <td colspan="22" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                    用毕时间:
                                </td>

                                <td colspan="8" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888; background-color:#F3F3F4;">
                                    签&nbsp;&nbsp;&nbsp;字
                                   </td>

                                <td colspan="22" id="title_o"
                                    style="font-size: 16px; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">

                                </td>
                            </tr>
                            <tr>
                                <td colspan="8" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888;background-color:#F3F3F4;">
                                    </td>
                                <td colspan="22" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">
                                   用毕地点:
                                </td>
                                <td colspan="8" id="title_o"
                                    style="font-size: 16px;border-left: 1px solid #888;background-color:#F3F3F4;">
                                    </td>
                                <td colspan="22" id="title_o"
                                    style="font-size: 16px; border-right: 1px solid #888;border-left: 1px solid #888; border-top: 1px solid #888;background-color:#F3F3F4;">

                                </td>
                            </tr>

                            <tr>
                                <td colspan="60" class="bold"
                                    style="border-top: none; border-bottom: 1px solid #888; border-right: 1px solid #888;">
                                </td>
                            </tr>
                        </table>
                        </div>

                    </div>
    <div class="row btn-group-m-t">
        <div class="col-sm-10">
            <!--<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="CarInfoDlg.addSubmit()"/>-->
            <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="CarInfoDlg.close()"/>
        </div>
    </div>
        </div>
    </div>


</block>
<script src="${ctxPath}/static/modular/paiqian/car/jquery.PrintArea.js"></script>
<script>

    function doPrint(){
        $("#print").printArea();
    };
</script>
<script src="${ctxPath}/static/modular/paiqian/car/car_info.js"></script>
@}
